<template>
  <div class="banner">
    <img src="https://hzyczn.52br.net/images/h5/img/banner.png" alt="" />
  </div>
  <Content />
  <Car />
</template>

<script setup lang="ts">
import Content from '@/components/Content/index.vue'
import Car from '@/components/Car/index.vue'
import { useRoute } from 'vue-router'
import { useAuthStore } from '@/stores/index'
const authStore = useAuthStore()
const route = useRoute()
authStore.setAtuh(Number(route.query.id), Number(route.query.state))
</script>

<style lang="less" scoped>
.banner {
  width: 100%;
  height: 30vw;
  img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}
</style>
